package newHomework;

import java.util.Arrays;

public class ArrayRever {
    public static void main(String[] args) {
        int[] arr = {44,22,55,66,11,77,88};
        int[] arr1 = new int[arr.length+1];
        for (int i = 0;i<arr.length;i++){
            arr1[i] =arr[arr.length-1-i];
            System.out.println(arr1[i]);
        }
        System.out.println(Arrays.toString(arr));
    }
}
